package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCart;
import com.cskaoyan.market.vo.WxCartCheckoutVo;

import java.util.List;


public interface WxCartService {
    int update(MarketCart marketCart);

    List<MarketCart> delete(List<Integer> ids);

    List<MarketCart> index();

    int goodsCount();
    double goodsAmount();
    double checkedGoodsAmount();
    int checkedGoodsCount();

    int add(MarketCart marketCart);

    List<MarketCart> checked(int isChecked, List<Integer> productIds);

    int fastAdd(MarketCart marketCart);

    WxCartCheckoutVo checkout(WxCartCheckoutVo vo);
}
